gtk: translate unhandled touch events to button events
authorMatthias Clasen <mclasen@redhat.com>
Sun, 26 Feb 2012 16:19:29 +0000 (11:19 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 1 Mar 2012 21:25:21 +0000 (16:25 -0500)
commit6c257040a54eb91cc9323c8441b6025667dace69
tree84e1ebca581d1173d29fcf03b45d1958169e3a56
parent680872815b2480913fe4fd55b8f018c5469d44de
gtk: translate unhandled touch events to button events

We don't want to fallback for 'random' touch sequences, since
that could lead to all kinds of pairedness and other violations.
Since the X server already tells us what touch events it would
have used for emulating pointer events, we just use that information
here.
gtk/gtkwidget.c